package com.yanqu.road.entity.activity.evefeast;

public class EveFeastBlock {
    private int x;
    private int y;
    private int objectId;
    private int itemId;
    public EveFeastBlock() {
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getObjectId() {
        return objectId;
    }

    public void setObjectId(int objectId) {
        this.objectId = objectId;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }


    public EveFeastBlock cloneBlock() {
        EveFeastBlock block = new EveFeastBlock();
        block.setX(x);
        block.setY(y);
        block.setObjectId(objectId);
        block.setItemId(itemId);
        return block;
    }

    public void clearItem() {
        objectId = 0;
        itemId = 0;
    }

}
